package com.adinnet.admin.appVersion.mapper;

import com.adinnet.admin.appVersion.model.AppVersion;
import com.adinnet.admin.appVersion.model.AppVersionReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * app版本管理 Mapper 接口
 * </p>
 *
 * @author liukp
 * @since 2020-09-23
 */
public interface AppVersionMapper extends BaseMapper<AppVersion> {

    List<AppVersion> list(Page<?> iPage, @Param("req") AppVersionReq req);

    int updateAppVersion(@Param("id")Integer id);
}
